SftTree/NET 2.0

Level Property, ItemClass Class

Softel vdm, Inc.

Returns the item's level number.

Syntax      ItemClass Class (Softelvdm.SftTreeNET)

VB   

Public ReadOnly Property Level As Integer

C#   

public int Level { get; }

C++   

public: property int Level {
        int get();
}

Property Value

The level.

Comments

The Level property returns the item's level number.

The root (or highest) level is level 0, dependents are on levels 1, 2, 3 and lower. The first item in the tree control is always at level 0.

An item's level number is determined by its position in the hierarchy represented by all items. The Level property determines the "indentation" of an item.

The overall indentation of items can be defined using the DimensionsClass.LevelIndent property.


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com